package com.hmdp.service;

import cn.hutool.core.util.BooleanUtil;
import com.hmdp.dto.Result;
import com.hmdp.entity.Follow;
import com.baomidou.mybatisplus.extension.service.IService;


public interface IFollowService extends IService<Follow> {
    //判断是否关注
    Result isFollow(Long followedId);

    //关注/取关
    Result follow(Long followedId, Boolean isFollowed);

    //查看共同关注
    Result showCommonUsers(Long id);

}
